package gui;

import javax.swing.JPanel;
import javax.swing.BorderFactory;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.JLabel;

/**
 * @author  Benjamin Lee
 * @created November 16, 2011
 * @email benjamin.lee@my.uwrf.edu
 * 
 */
class mainWindow extends JFrame implements ActionListener 
{

   JPanel pnPanel1;
   JButton btBut2;
   JButton btBut3;
   JTextField tfText0;
   JLabel lbLabel0;

   /**
    *Constructor for the Panel0 object
    */
   public mainWindow() 
   {
      super();
    Panel p = new Panel();
    
      add(p);
		setTitle("Place value learning zone");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(400, 200);
		setLocationRelativeTo(null);
		setResizable(false);
		
		setVisible(true);
   } 

   /**
    */
   public void actionPerformed( ActionEvent e ) 
   {
      if ( e.getSource() == btBut2 ) 
      {
      // Action for btBut2
      }
      if ( e.getSource() == btBut3 ) 
      {
      // Action for btBut3
      }
   }
   public static void main(String args[])
   {


mainWindow test = new mainWindow();
   }
}
